jQuery(document).ready(function() {
    jQuery("#events").html("<%= escape_javascript render(:file => 'events/_events.html.erb') %>");
});